<template>
  <div class="table-search">
    <el-form
      :inline="true"
      :model="search"
      label-width="120px"
    >
      <el-form-item :label="$t('toolingBarcode')">
        <el-input
          v-model="search.toolingBarcode"
          :placeholder="$t('searchtoolingbarcode')"

        />
      </el-form-item>
      <el-form-item>
        <el-button
          type="primary"
          icon="el-icon-search"

          @click="doSearch"
        >{{ $t('search') }}</el-button
        >
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  name: 'ToolingMaintainHeader',
  data() {
    return {
      search: {}
    }
  },
  methods: {
    doSearch() {
      this.$emit('doSearch', this.search)
    }
  }
}
</script>
<style lang="scss" scoped>
.table-search{
  padding: 22px;
  background-color: #fff;
  padding-bottom: 0;
}
</style>
